const Koa = require("koa2");
const app = new Koa();
const router = require("koa-router")();
const parser = require("koa-parser")
app.use(parser())


require("./model/sync")
// app.use(sync())










app.use(router.routes())
app.listen(3000, () => {
    console.log("服务器已经启动 端口 3000")
})